package com.dqx.haoqiu.mvp.module.launch.link;

import com.dqx.haoqiu.mvp.common.webview.vassonic.VasSonicActivity;

import static com.dqx.haoqiu.mvp.common.constant.IConstants.TITLE;
import static com.dqx.haoqiu.mvp.common.constant.IConstants.URL;

/**
 * 第三方链接
 */
public class LinkActivity extends VasSonicActivity {

    /**
     * 设置标题
     *
     * @return
     */
    @Override
    public String setTitle() {
        return getIntent().getStringExtra(TITLE);
    }

    /**
     * 设置加载路径
     *
     * @return
     */
    @Override
    public String setUrl() {
        return getIntent().getStringExtra(URL);
    }
}

